********************************
Compiling mdNameJavaWrapper.cpp
********************************

You may need to recompile mdNameJavaWrapper.cpp if you are not using a version of Java that is compatible with the mdNameJavaWrapper.dll that is supplied. 

Prerequisites:
	
	Visual C++ Compiler
	Java JDK (tested with JDK 1.6)


To compile mdNameJavaWrapper.cpp, a bat file has been supplied. This bat file requires the Visual Studio C++ compiler. To use the compiler, you must set up its environment by executing vcvars32.bat in the Visual Studio C++ bin folder. Read the comments at the top of CreateDll.bat for more details.


You must then set the path to the Java Include and Library path. You also need to set the path of the Name Object library (mdName.dll). The default locations of these files have are set for 64-bit but may require changes if your system is different.

**********
64 Bit mode
**********
To use this wrapper in 64bit mode, you must use the 64 bit version of Name Object and recompile the wrapper dlls on a 64bit machine. To do so, go into the "Source" directory and follow the instructions in CreateDLL.bat. You 
must use the Visual Studio x64 Command Prompt instead of the 32bit (default) version. 

* 64bit version available in C:\Program Files\Melissa DATA\DQT\NameObj\dll_64bit


set JavaIncludeDirectory1 to the JDK\include directory
Set JavaIncludeDirectory2 to the JDK\include\win32 directory
set NameLibraryPath to the directory containing mdName.dll


Now, you can run CreateDll.bat to create mdNameJavaWrapper.dll.

